﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Best.SmartCms.Domain.Common;

namespace Best.SmartCms.Domain
{
    [Table("OrderItem")]
    public class OrderItem : BaseDomain
    {
        /// <summary>
        /// 订单Id
        /// </summary>
        public long OrderId { get; set; }

        /// <summary>
        /// 商品Id
        /// </summary>
        public long ProductId { get; set; }

        /// <summary>
        /// 下单客户
        /// </summary>
        public int? Quantity { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public decimal? UnitPrice { get; set; }

        /// <summary>
        /// 折扣金额
        /// </summary>
        public decimal? DiscountAmount { get; set; }
    }
}
